﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class OutPost : Ship
{
    public bool m_AutoFire = false;
    public float m_ShotCoolingMutiple = 1;
    protected new void Start()
    {
        base.Start();
        ShotVelocityMultiply = m_ShotCoolingMutiple;
    }

    protected override void Update()
    {
        if(m_AutoFire)
        {
            foreach(var slot in m_WeaponSlots)
            {
                if(slot.m_FireReady)
                {
                    slot.fire();
                }
            }
        }
    }
}
